// Copyright 2010 Alexandre Tristan St-Cyr <tristan.stcyr@gmail.com>

package com.codeplex.loadjava;

import java.sql.Connection;
import java.sql.SQLException;

public class JavaLoaderSettings implements IJavaLoaderSettings {
	
	private long folderId;
	
	private Connection connection;
	
	private String classpath;
	
	public JavaLoaderSettings(Connection connection, long folderId, IJavaLoaderOptions options) 
		throws SQLException
	{
		this.folderId = folderId;
		this.connection = connection;
		this.classpath = options.getClasspath();
	}
	
	@Override
	public long getFolderId() {
		return this.folderId;
	}
	
	@Override
	public Connection getConnection() {
		return this.connection;
	}
	
	@Override
	public String getClasspath() {
		return this.classpath;
	}
}
